<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax封装演示</title>
</head>

<body>
  <div id="app">
    {{title}}
    <hr>
    
    <input type="text" v-model="email" placeholder="邮箱">
    <button @click="sendEmailCode">获取验证码</button>
    <input type="text" v-model="code" placeholder="校验码">
    <button>校验验证码</button>

  </div>

  <script type="module" src="js/ajax-demo.js"></script>

</body>

</html>